package com.sicheng.metadata.se;

/**
 * @author zsc
 * @version 1.0
 * @date 2021/11/21 16:23
 */
public class Test {
    @Log(title = "11",businessType = BusinessType.FORCE)
    public static void main(String[] args) {
        int ordinal = BusinessType.FORCE.ordinal();
        System.out.println(ordinal);

    }

    public static int getOrdinal(Log log) {
        return Integer.parseInt( log.title());
    }
}
